package com.company;

public class Main {

    public static void main(String[] args) {
        // write your code here
        Person tom = new Person("XM");
        Ship ship = new Ship("114514");
        Train train = new Train("肉蛋葱鸡");

        System.out.println(tom.getId());
        new MaritimeMeansOfTransport();
        tom.driveTransport(ship);
        new LandTransport();
        tom.driveTransport(train);
    }
}
